<script setup>
import {useRouter} from "vue-router";
const router = useRouter()
</script>

<template>
<div class="endWelcome_All">
  <div class="endWelcome_All_left">
    <span @click="router.push('/endW/schoolEat')">食堂位置</span><br>
    <span @click="router.push('/endW/schoolRoom')">宿舍位置</span>
    <span @click="router.push('/reportAll')">返回</span>
  </div>
  <div class="endWelcome_All_right">
    <router-view/>
  </div>
</div>
</template>

<style scoped>
.endWelcome_All_left{
  width: 10%;
  background-color: #d3dce6;
}
.endWelcome_All_left span{
  margin-left: 30px;
  font-size: 20px;
  line-height: 100px;
  cursor: pointer;
}
.endWelcome_All_right{
  width: 90%;
  border: #99a9bf 3px solid;
}
.endWelcome_All{
  width: 100%;
  display: flex;
}
</style>
